# @Author:      me
# 文件创建日期:    2023-07-05 10:45
# 当前文件:       workspace/if_other_demo.py


print(type(print("ok") if 1>0 else print("不ok")))

souce = 80;

a ="A" if ("合法数值" if 0<souce<100 else "不合法数值") =="合法数值" and souce>90 else "B"

# 不推荐
"ok" if souce=="" else "null"

print(a)

